//
//  ViewController.m
//  Arrays
//
//  Created by iD Student on 6/28/13.
//  Copyright (c) 2013 iD Student. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    
    stringArray = [[NSArray alloc] initWithObjects:@"Text1", @"Text2", @"Text3", nil];
    mutableStringArray = [[NSMutableArray alloc] init];
    for(int i = 0; i < 3; i++)
    {
        [mutableStringArray addObject:[NSString stringWithFormat:@"Text%d", (i+1)]];
    }
    NSLog([stringArray objectAtIndex:1]);
    
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
